package com.cman777.springc.common.bean.enums;

import com.cman777.springc.common.bean.Iface.Enum4DBIFace;
import lombok.Getter;

/**
 * @author chenzhicong
 * @time 2019/11/11 1:58
 * @description
 */
@Getter
public enum YesNoCodeEnum implements Enum4DBIFace {

    YES("YES","是",true),
    NO("NO","否",false);



    private final String code;
    private final String dbCode;
    private final String message;
    private final boolean isTrue;



    YesNoCodeEnum(String code, String message, boolean isTrue) {
        this.code = code;
        this.dbCode = code;
        this.message = message;
        this.isTrue = isTrue;
    }


}
